#ifndef GLOBAL_H
#define GLOBAL_H

#include <opencv/cv.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/imgcodecs/imgcodecs.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/utility.hpp>
#include <opencv2/video.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core_c.h>
#include <QImage>

#include <QDebug>
enum STATUS {OPEN_SUCCESS,
             OPEN_FAILED,
             NO_CAPTURE};

extern QImage MatToImage(const cv::Mat& mat);

#endif // GLOBAL_H
